package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 商品信息
 * </p>
 *
 * @author liliping
 * @since 2019-04-02
 */
@TableName("tb_product_info")
public class TbProductInfo implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 商品编号
	 */
	@TableId(value="product_id")
	private Long productId;

	/**
	 * 商品名称
	 */
	@TableField(value="product_name")
	private String productName;

	/**
	 * 商品简介
	 */
	@TableField(value="product_desc")
	private String productDesc;

	/**
	 * 商品分类
	 */
	@TableField(value="class_id")
	private Long classId;

	/**
	 * 商品状态 1: 上架 0:下架
	 */
	@TableField(value="product_status")
	private Integer productStatus;

	/**
	 * 原价
	 */
	@TableField(value="original_price")
	private BigDecimal originalPrice;

	/**
	 * 现价
	 */
	private BigDecimal price;

	/**
	 * 封面图片
	 */
	@TableField(value="front_pic_url")
	private String frontPicUrl;

	/**
	 * 商品详情
	 */
	@TableField(value="product_dtl")
	private String productDtl;

	/**
	 * 快递费用
	 */
	@TableField(value="ship_fee")
	private BigDecimal shipFee;

	/**
	 * 月销量
	 */
	@TableField(value="month_sales")
	private Integer monthSales;

	/**
	 * 状态
	 */
	@TableField(value="data_status")
	private Integer dataStatus;

	/**
	 * 添加时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 删除时间
	 */
	@TableField(value="delete_time")
	private Date deleteTime;

	/**
	 * 添加人
	 */
	@TableField(value="add_user_id")
	private Long addUserId;

	/**
	 * 修改人
	 */
	@TableField(value="update_user_id")
	private Long updateUserId;

	/**
	 * 删除人
	 */
	@TableField(value="delete_user_id")
	private Long deleteUserId;

	/**
	 * 商品标签
	 * 1: 热卖
	 * 2: 推荐
	 */
	@TableField(value="product_tag_id")
	private Integer productTagId;


	@TableField(exist = false)
	private String className;

	@TableField(exist = false)
	private String buyNums;

	@TableField(exist = false)
	private String colorName;

	@TableField(exist = false)
	private String specsName;


	/**
	 * 排序
	 */
	@TableField(value = "order_num")
	private Integer orderNum;

	@TableField(value = "act_sales")
	private Integer actSales;

	@TableField(exist = false)
	private String videoUrl;

	@TableField(exist = false)
	private Integer picType;

	@TableField(exist = false)
	private Integer returnOrderStatus;

	@TableField(exist = false)
	private Integer returnType;


	@TableField(value = "sales")
	private Integer sales;


	/**
	 * 主图二
	 */
	@TableField(exist = false)
	private String frontPicUrlOne;

	/**
	 * 主图三
	 */
	@TableField(exist = false)
	private String frontPicUrlTwo;


	public String getFrontPicUrlOne() {
		return frontPicUrlOne;
	}

	public void setFrontPicUrlOne(String frontPicUrlOne) {
		this.frontPicUrlOne = frontPicUrlOne;
	}

	public String getFrontPicUrlTwo() {
		return frontPicUrlTwo;
	}

	public void setFrontPicUrlTwo(String frontPicUrlTwo) {
		this.frontPicUrlTwo = frontPicUrlTwo;
	}

	public Integer getSales() {
		return sales;
	}

	public void setSales(Integer sales) {
		this.sales = sales;
	}

	public Integer getAfterSaleType() {
		return afterSaleType;
	}

	public void setAfterSaleType(Integer afterSaleType) {
		this.afterSaleType = afterSaleType;
	}

	/**
	 * 售后方式
	 * 1:：7天无理由退换货
	 * 2：30天无理由退换货
	 * 3: 不支持退换货
	 */
	@TableField(value="after_sale_type")
	private Integer afterSaleType;




	public Integer getReturnOrderStatus() {
		return returnOrderStatus;
	}

	public void setReturnOrderStatus(Integer returnOrderStatus) {
		this.returnOrderStatus = returnOrderStatus;
	}

	public Integer getReturnType() {
		return returnType;
	}

	public void setReturnType(Integer returnType) {
		this.returnType = returnType;
	}

	public Integer getProductTagId()
	{
		return productTagId;
	}

	public void setProductTagId(Integer productTagId)
	{
		this.productTagId = productTagId;
	}

	public String getBuyNums() {
		return buyNums;
	}

	public String getColorName() {
		return colorName;
	}

	public String getSpecsName() {
		return specsName;
	}

	public void setBuyNums(String buyNums) {
		this.buyNums = buyNums;
	}

	public void setColorName(String colorName) {
		this.colorName = colorName;
	}

	public void setSpecsName(String specsName) {
		this.specsName = specsName;
	}

	@TableField(exist = false)
	private String picUrl;

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public Integer getPicType() {
		return picType;
	}

	public void setPicType(Integer picType) {
		this.picType = picType;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public Integer getActSales() {
		return actSales;
	}

	public void setActSales(Integer actSales) {
		this.actSales = actSales;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductDesc() {
		return productDesc;
	}

	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}

	public Long getClassId() {
		return classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public Integer getProductStatus() {
		return productStatus;
	}

	public void setProductStatus(Integer productStatus) {
		this.productStatus = productStatus;
	}

	public BigDecimal getOriginalPrice() {
		return originalPrice;
	}

	public void setOriginalPrice(BigDecimal originalPrice) {
		this.originalPrice = originalPrice;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getFrontPicUrl() {
		return frontPicUrl;
	}

	public void setFrontPicUrl(String frontPicUrl) {
		this.frontPicUrl = frontPicUrl;
	}

	public String getProductDtl() {
		return productDtl;
	}

	public void setProductDtl(String productDtl) {
		this.productDtl = productDtl;
	}

	public BigDecimal getShipFee() {
		return shipFee;
	}

	public void setShipFee(BigDecimal shipFee) {
		this.shipFee = shipFee;
	}

	public Integer getMonthSales() {
		return monthSales;
	}

	public void setMonthSales(Integer monthSales) {
		this.monthSales = monthSales;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Long getAddUserId() {
		return addUserId;
	}

	public void setAddUserId(Long addUserId) {
		this.addUserId = addUserId;
	}

	public Long getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Long getDeleteUserId() {
		return deleteUserId;
	}

	public void setDeleteUserId(Long deleteUserId) {
		this.deleteUserId = deleteUserId;
	}

}
